body {
    min-width: 320px;
    max-width: 750px;
    margin: 0 auto;
    background-color: #F2F4F7;
    box-sizing: border-box;
}

a {
    color: #707070;
    text-decoration: none;
}

a:hover { 
    color:  #e03326;
    text-decoration: none;
}

//约束当屏幕大于750px后，html的字体大小不再变化
@media screen and (min-width: 750px) {
    html {
        font-size: 37.5px!important;
    }
}

.wrap_1{
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 20rem;
    background-color: #fff;
}

.header {
    display: flex; 
    padding: 0.266667rem 0;
    .img {
        width: 4.533333rem;
        height: 1.066667rem;
    }

    div {
        height: 0.933333rem;
        margin: 0.64rem  0 0.533333rem 0.533333rem;
    }

    input {
        width: 5.333333rem;
        height: 0.8rem;
        padding: 0.4rem 0.213333rem ;
        margin: 0.64rem  0 0.533333rem 0.133333rem;
        line-height: 1.8rem;
        border:1px solid #ccc;
        border-radius: 16px;
        font-size: 0.48rem;
    }

    .find { 
        width: 0.906667rem;
        height: 0.906667rem;
        font-size: 0.64rem;
        margin-left: 3.466667rem;
        line-height: 0.906667rem;
    }

    .sign { 
        padding: 0.08rem 0.08rem 0.133333rem 0.08rem;
        border:2px solid #e03326;
        border-radius: 16px;
        background-color: #f5b1ab;
        font-size: 0.48rem;
        color: #e03326;
    }

    .sign a {
        padding:0.053333rem 0.133333rem;
        height: 0.933333rem;
        font-size: 0.48rem;
        color: #e03326;
        text-decoration: none;
    }

    .sign a:hover {
        color:  #fff;
    }
}

.nav {
    margin: 0.266667rem 0;
    li {
        display: flex;
        float: left;
        width: 12.5%;
        padding: 0.266667rem 0.533333rem;
        font-size: 0.693333rem;
        
        &:nth-child(1) a {
            color: #e03326;
        }
    }
}

.wrap_2{
    position: relative;
    width: 20rem;
    padding: 0.4rem 0.266667rem 1.066667rem 0.266667rem;
    background-color: #fff;
    margin-top: 4.8rem;
}

.wrap_2 .swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0.266667rem 0.266667rem 0 0.266667rem;
    padding-right: 0.533333rem;
  }

.wrap_2 .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  
    img {
        width: 19.2rem;
        height: 5.333333rem; 
    }
}

.wrap_2 .swiper-pagination {
    position: absolute;
    left: 50%;
    transform: translateX(-50%)!important;
    font-size: 0.533333rem;
    padding-top: 0.213333rem;
    .swiper-pagination-bullet {
        margin:0 0.16rem;
        background-color: red;
    }
}

.content {
    position: relative;
    padding: 0.666667rem 0.64rem 0.666667rem 0.64rem;
    background-color: #fff;
    margin-top: 0.266667rem;
    .title {
        position: absolute;
        top: 0.666667rem;
        left: 0.533333rem;
        width: 5.666667rem;
        height: 2.066667rem;
    }
    .content-hd {
        display: flex;
        justify-content: space-between ;
        height: 1.013333rem;
        line-height: 1.013333rem;
        margin: 0.533333rem 0;
        h4 {
            margin: 0.213333rem 0.533333rem;
            font-size: 0.693333rem;
            color: #333333;
            font-weight: 700;
        }
        span {
            color: #999999;
            font-size: 0.586667rem;
            margin-top: 0.133333rem;
        }
        .more {
            color: #999999;
            font-size: 0.586667rem;
        }
        .more:hover {
            color: #e03326;
        }
    } 
} 

.intro ul li {
    position: relative;
    height: 3.626667rem;
    padding: 0.533333rem 0.266667rem;
    span {
        display: block;
        float: left;
        overflow: hidden;
        width: 4.533333rem;
        height: 2.88rem;
        border-radius: 0.213333rem;
        img {
        width: 4.533333rem;
        height: 2.88rem;
        }
    }
    .classes {
        float: left;
        a {
            display: block;
            width: 9.866667rem;
            margin: 0 0.266667rem;
            padding: 0.213333rem 0.133333rem 0.266667rem 0.133333rem;
            font-size: 0.64rem;
            color: black;
        } 
        a:hover {
            color:  #e03326;
            cursor: pointer;
        }
        p {
            float: left;
            margin: 0 0 0 0.4rem;
            padding: 0.213333rem  0.213333rem;
            font-size: 0.48rem;
        }
    }
    
    .price {
        position: absolute;
        top: 0.466667rem;
        right: 0;
        float: right;
        .now {
            width: 2.133333rem;
            text-align: center;
            font-size: 0.586667rem;
            color: #e03326;
            border: 2px solid #e03326;
            background-color: #fff;
            border-radius: 20px;
            margin-left: 0.266667rem;
            margin-bottom: 0.133333rem;
        }

        .now:hover {
            color: #fff;
            border: 2px solid #fff;
            background-color: #e03326;
        }

        .before {
            float: left;
            font-size: 0.426667rem;
            color: #e03326;
            p {
                float: right;
                font-size: 0.48rem;
                text-decoration: line-through;
            }
        }
    }
}

.work {
    display: flex;
    justify-content: center;
    padding: 0.533333rem 0;
    margin-top: 0.4rem;
    li {
        height: 3.066667rem;
        padding: 0;
        margin: 0;
        a {
            float: left;
            padding: 0;
            margin: 0;
            img {
                width: 6.933333rem;
                height: 3.36rem;
            }
        }
    }
}

.online{
    .swiper-container {
        width: 100%;
        height: 100%;
      }
  
    .swiper-slide {
        margin-bottom: 0.533333rem;
        padding: 0 0.666667rem;
        font-size: 18px;
        width: 65%;

        background-color: #f3f4f7;
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: start;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: start;

        h3 {
            color: black;
            font-size: 0.64rem;
            margin-top: 0.533333rem;
            margin-bottom: 0.266667rem;
        }

        p {
            color: black;
            font-size: 0.586667rem;
            margin: 0.106667rem 0 0.373333rem 0;
        }

        .teacher {
            color: black;
            padding-bottom: 0.266667rem;
            div {
                float: left;
                border-radius: 50%;
                overflow: hidden;
                width: 0.933333rem;
                height: 0.933333rem;
                img {
                    width: 0.933333rem;
                    height: 0.933333rem;
                }
            }
            p{
                float: left;
                font-size: 0.586667rem;
                margin: 0.213333rem 0.133333rem;
            }
        }
    }
    .swiper-slide:hover {
        cursor: pointer;
        h3 {
            color: #e03326;
        }
    }
}

.mooc {
    margin-bottom: 2.933333rem;
    .swiper-container {
        width: 100%;
        padding: 0.266667rem 0.533333rem 0.8rem 0.533333rem; 
    }
  
    .swiper-wrapper {
        margin-bottom: 0.373333rem;
    }

    .swiper-slide {
        background-position: center;
        background: no-repeat;
        background-size: 6.666667rem 8rem;
        width: 6.666667rem;
        height: 8rem;
    }

    .swiper-pagination-bullet {
        width: 0.213333rem;
        height: 0.213333rem;
        margin: 0 0.106667rem;
        background-color: #e03326;
    }
    .swiper-pagination{
        bottom: 0.266667rem!important;
    }
    a:hover {
        cursor: pointer;
    }
}

.footer {
    position: fixed;
    display: flex;
    left: 0;
    bottom: 0;
    z-index: 9999;
    height: 2.933333rem;
    width: 100%;
    background-color: #fff;
    padding-top: 0.533333rem;
    border-top: 1px solid #ccc;
    .item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        &:nth-child(1) p {
                color: #e03326;
        }
        img {
            width: 1.04rem;
            height: 1.093333rem;
        }
        p {
            font-size: 0.586667rem;
            color: #666666;
            margin-top: 0.266667rem;
            
        }
    }  
}

